package com.chenjie.crud.dto.request.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author chenjie
 */
@Data
public class DeptReqQuery {



    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    @NotNull
//    @Size(min = 1, max = 40)
    private String deptName;

    /**
     * 父类id
     */
    @ApiModelProperty(value = "父类id")
    @NotNull
    private Long parentId;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String chargePerson;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private Long telephone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除")
    private Boolean deleteFlag;

}
